package top.honlnk.czuan.mapper.get;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import top.honlnk.czuan.pojo.entity.PartSpeech;

@Mapper
public interface GetPartSpeechMapper {
    @Select("select * from part_speech where simple = #{simple}")
    PartSpeech getPartSpeechBySimple(String simple);

    @Select("select * from part_speech where id = #{partId}")
    PartSpeech getPartSpeechById(Integer partId);
}
